<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<script src="{yun:}$config.sy_weburl{/yun}/js/jquery-1.8.0.min.js?v={yun:}$config.cachecode{/yun}"></script>
<script src="js/admin_public.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<link href="{yun:}$config.sy_weburl{/yun}/js/layui/css/layui.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet">

<link href="images/reset.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" />
<link href="images/system.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" />
<link href="images/table_form.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" />

<title>后台管理</title>
</head>
<body class="body_ifm">

<div class="infoboxp">
  <div class="admin_new_tip">
<a href="javascript:;" class="admin_new_tip_close"></a>
<a href="javascript:;" class="admin_new_tip_open" style="display:none;"></a>
    <div class="admin_new_tit"><i class="admin_new_tit_icon"></i>操作提示</div>
    <div class="admin_new_tip_list_cont">
      <div class="admin_new_tip_list">该页面展示了业务员【{yun:}$aname{/yun}】所有的客户。</div>
      <!-- <div class="admin_new_tip_list">可输入名称关键字进行搜索，也可进行详细的高级搜索。</div> -->
    </div>
  </div>

  <div class="table-list">
    <div class="admin_table_border">
      <iframe id="supportiframe"  name="supportiframe" onload="returnmessage('supportiframe');" style="display:none"></iframe>
      <form action="index.php"  target="supportiframe" name="myform" method="get" id='myform'>
        <table width="100%">
          <thead>
            <tr class="admin_table_top">
              <th align="left"> 
                企业id
              </th>

              <th align="left">企业名称</th>
              <th align="left">联系人</th>
              <th align="left">联系手机</th>
              <th align="left">关怀状态</th>
              
            </tr>
          </thead>
          <tbody>
          {yun:}foreach item=v key=key from=$company{/yun}
          <tr {yun:}if ($key+1)%2=='0'{/yun}class="admin_com_td_bg"{yun:}/if{/yun} id="list{yun:}$v.uid{/yun}">

            <td align="left" class="td1" style=" width:60px;">{yun:}$v.uid{/yun}</td>

            <td align="left" style="width:400px;">
            {yun:}$v.name{/yun}
            </td>
        
            <td>
            {yun:}$v.linkman{/yun}
            </td>

            <td>
            {yun:}$v.linktel{/yun}
            </td>

            <td>
            {yun:}if $v.crm_status == 0{/yun}
            未关怀
            {yun:}else if $v.crm_status == 1{/yun}
              等待客户反馈
            {yun:}else if $v.crm_status == 2{/yun}
              已付费
            {yun:}else if $v.crm_status == 3{/yun}
              拒绝付费
            {yun:}else if $v.crm_status == 4{/yun}
              可能付费，需要再回访
            {yun:}/if{/yun}
            </td>
          </tr>

          {yun:}/foreach{/yun}
          <tr style="background:#f1f1f1;">
            <td></td>
            <td class="digg">{yun:}$pagenav{/yun}</td>
            
            <td></td>
            <td></td>
            <td></td>
          </tr>
          </tbody>
        </table>
        <input type="hidden" name="pytoken" id='pytoken' value="{yun:}$pytoken{/yun}">
      </form>
    </div>
  </div>
</div>

<script src="{yun:}$config.sy_weburl{/yun}/js/layui/layui.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<script src="{yun:}$config.sy_weburl{/yun}/js/layui/phpyun_layer.js?v={yun:}$config.cachecode{/yun}"></script>
<script>

layui.use(['layer', 'form'], function(){
  var layer = layui.layer
  ,form = layui.form
  ,$ = layui.$;
});

// var salesmanId = '{yun:}$uid{/yun}';

</script>

</body>
</html>
